Skip to content

feat: migrate build system from tsup to vite#566

Merged
jcbsfilho merged 3 commits intostagefrom
feat/removing-tsup
Jan 23, 2026
Merged

feat: migrate build system from tsup to vite#566
jcbsfilho merged 3 commits intostagefrom
feat/removing-tsup

Conversation

@jcbsfilho
Copy link
Collaborator

This pull request makes several important changes to the build process, configuration, and storage metadata handling for the project. The main update is the migration from tsup to vite as the build tool, which affects build scripts, configuration files, and output structure. Additionally, the storage configuration has been refactored to rename the edgeAccess property to workloadsAccess throughout the codebase. There are also minor improvements to constants and development commands.

Build system migration and configuration:

  • Migrated from tsup to vite for building the project, including removing tsup.config.ts, adding vite.config.js, updating build scripts in package.json, changing the output entry point to dist/index.js, and updating binary references. Also added vite as a dev dependency and removed tsup. [1] [2] [3] [4] [5]

Bonus

Storage configuration refactor:

  • Renamed the edgeAccess property to workloadsAccess in the BucketMetadata interface, storage-related function calls, config command documentation, and tests to standardize terminology. [1] [2] [3] [4] [5]

Constants and environment:

  • Added OUTPUT_KV_PATH to the DIRECTORIES constant in lib/constants.ts to support future KV storage features.

Development command improvements:

  • Refactored the import of server from #env in lib/commands/dev/command.ts to use a static import instead of a dynamic import. [1] [2]

@jcbsfilho jcbsfilho requested a review from a team as a code owner January 23, 2026 16:50
pablodiehl
pablodiehl previously approved these changes Jan 23, 2026
@jcbsfilho jcbsfilho merged commit 5fffcaa into stage Jan 23, 2026
6 checks passed
@jcbsfilho jcbsfilho deleted the feat/removing-tsup branch January 23, 2026 18:56
gabrielnes-azion pushed a commit that referenced this pull request Jan 23, 2026
[skip ci]
## 7.1.0-stage.2 (2026-01-23)

* feat: migrate build system from tsup to vite (#566) ([5fffcaa](5fffcaa)), closes [#566](#566)
@gabrielnes-azion
Copy link
Contributor

🎉 This PR is included in version 7.1.0-stage.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

gabrielnes-azion pushed a commit that referenced this pull request Feb 11, 2026
[skip ci]
## 7.1.0 (2026-02-11)

* chore(release): 7.1.0-stage.1 ([8e62deb](8e62deb))
* chore(release): 7.1.0-stage.2 ([e7dee69](e7dee69))
* chore(release): 7.1.0-stage.3 ([8e8ca14](8e8ca14))
* Merge branch 'main' into stage [skip ci] ([1cc9ba3](1cc9ba3))
* Release 7.1.0 (#585) ([41a82df](41a82df)), closes [#585](#585)
* fix: update azion dependency to 3.1.0 (#584) ([6e1910d](6e1910d)), closes [#584](#584)
* chore: remove dependabot workflow (#583) ([23d020c](23d020c)), closes [#583](#583)
* chore: update reports ([2b55072](2b55072))
* chore: update reports ([118c731](118c731))
* chore: update reports ([edfeca5](edfeca5))
* chore: update reports ([f431f34](f431f34))
* chore: update reports ([899dfed](899dfed))
* chore: update reports ([70e602d](70e602d))
* chore: update reports ([0f3d930](0f3d930))
* chore: update reports ([cf47c95](cf47c95))
* chore: update reports ([05d9a1b](05d9a1b))
* chore: update reports ([b07fc97](b07fc97))
* chore: update reports ([2adc855](2adc855))
* chore: update reports ([149bd45](149bd45))
* chore: update reports ([1993591](1993591))
* chore: update reports ([e8cc9c4](e8cc9c4))
* chore: update reports ([b50f772](b50f772))
* chore: update reports ([0058704](0058704))
* chore: update reports ([5a70b56](5a70b56))
* chore: update reports ([ce81598](ce81598))
* chore: update reports ([a31ecb5](a31ecb5))
* chore: update reports ([88b6033](88b6033))
* chore: update reports ([8012fdf](8012fdf))
* chore: update reports ([dce3a92](dce3a92))
* chore: update reports ([e6d2e92](e6d2e92))
* chore: update reports ([f906db4](f906db4))
* chore: update reports ([c120da3](c120da3))
* chore: update reports ([b9d0161](b9d0161))
* chore: update reports ([3f83a91](3f83a91))
* chore: update reports ([87b44f5](87b44f5))
* chore: update reports node.js apis ([e471eb5](e471eb5))
* chore: update reports node.js apis ([683c72b](683c72b))
* chore: update reports node.js apis ([5575590](5575590))
* chore: update reports node.js apis ([6858329](6858329))
* chore: update reports node.js apis ([98e44f3](98e44f3))
* chore: update reports node.js apis ([d25213e](d25213e))
* chore: update reports node.js apis ([6a30bb2](6a30bb2))
* chore: update reports node.js apis ([93f4aaf](93f4aaf))
* chore: update reports node.js apis ([5d4ad73](5d4ad73))
* chore: update reports node.js apis ([89dfb47](89dfb47))
* chore: update reports node.js apis ([2894525](2894525))
* chore: update reports node.js apis ([ca2e5f0](ca2e5f0))
* chore: update reports node.js apis ([e64349c](e64349c))
* chore: update reports node.js apis ([48b2684](48b2684))
* chore: update reports node.js apis ([f668f54](f668f54))
* chore: update reports node.js apis ([d1c8839](d1c8839))
* chore: update reports node.js apis ([1b6dd91](1b6dd91))
* chore: update reports node.js apis ([97a3a0c](97a3a0c))
* chore: update reports node.js apis ([38c2927](38c2927))
* chore: update reports node.js apis ([842e7b6](842e7b6))
* chore: update reports node.js apis ([9ca8115](9ca8115))
* chore: update reports node.js apis ([35c8b4e](35c8b4e))
* chore: update reports node.js apis ([1ef25a6](1ef25a6))
* chore: update reports node.js apis ([b3d0666](b3d0666))
* chore: update reports node.js apis ([398c1e3](398c1e3))
* chore: update reports node.js apis ([bc0c36e](bc0c36e))
* chore: update reports node.js apis ([57787e6](57787e6))
* chore: update reports node.js apis ([72ec324](72ec324))
* chore: update reports node.js apis ([239f9cd](239f9cd))
* test: add missing preset tests (#577) ([a511941](a511941)), closes [#577](#577)
* test: remove unused log and format files (#578) ([ad7a03e](ad7a03e)), closes [#578](#578)
* feat: add KV storage polyfill for local development (#562) ([e345129](e345129)), closes [#562](#562)
* feat: migrate build system from tsup to vite (#566) ([5fffcaa](5fffcaa)), closes [#566](#566)
@gabrielnes-azion
Copy link
Contributor

🎉 This PR is included in version 7.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

5 participants